package com.mrzhiyi.demo.sb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * s_customer
 * </p>
 *
 * @author Kevin Liu
 * @since 2024-08-08
 */
@Getter
@Setter
@Accessors(chain=true)
@TableName("s_customer")
public class Customer implements Serializable{
    @Serial
    private static final long serialVersionUID=1L;
    @TableId("id")
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("phone")
    private String phone;
    @TableField("address")
    private String address;
    @TableField("city")
    private String city;
    @TableField("state")
    private String state;
    @TableField("country")
    private String country;
    @TableField("zip_code")
    private String zipCode;
    @TableField("credit_rating")
    private String creditRating;
    @TableField("sales_rep_id")
    private Integer salesRepId;
    @TableField("region_id")
    private Integer regionId;
    @TableField("comments")
    private String comments;
}
